package pm.oo;

import com.sun.star.frame.XFrame;
import com.sun.star.lang.XComponent;

import java.io.File;
import java.io.IOException;
import java.util.Map;

public interface OOModule {
    
    public void loadDocument(File file, NativeOOViewComponent viewComponent) throws IOException;

    public void closeCurrentDocument();

    public XFrame getCurrentFrame();

    public XComponent getCurrentDocument();

    public void nextPage();

    public void prevPage();

    public void print(Map props);

    public void createConnection();
}
